from django.urls import path
from .views import *

urlpatterns = [
    # 注册用户
    path(r'^users/$', UserView.as_view()),
    # 判断用户是否已注册
    path(r'^users/(?P<username>\w{5,20})/count/$',UsernameCountView.as_view()),
    # 判断用户是否已注册
    path(r'^mobiles/(?P<mobiles>1[3-9]\d{9})/count/$',UserMobileCountView.as_view()),
]
